#ifndef _SEGMENT_H_
#define _SEGMENT_H_

//#include <iostream>
//#include <string>
//#include <fstream>
//#include <stdio.h>

//using namespace std;

int init_segment(
	const char* root_path, 
	int backend_type, 
	int num_thread);

int do_segment(
	unsigned char* src_data, 
	unsigned char* mask_data, 
	int input_width, 
	int input_height);

int release_segment();

int get_inputsize(
	int &input_width, 
	int &input_height,
	int src_width, 
	int src_height);

#endif
